home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 31
/
Aminet 31 (1999)(Schatztruhe)[!][Jun 1999].iso
/
Aminet
/
dev
/
c
/
vbccppcsrc.lha
/
vbcc
/
ar
/
Makefile
< prev
next >
Wrap
Makefile
|
1999-03-07
|
1KB
|
56 lines
CC = vc
CONFIG = -DAMIGA -DTYPES32BIT -DBIGENDIAN
COPTS = -c $(CONFIG)
#COPTS = -O2 -cpu=68020 -c
CLIBS =
DIR = AmigaM68k
arobjects = $(DIR)/ar.o $(DIR)/archive.o $(DIR)/errors.o \
$(DIR)/contents.o $(DIR)/delete.o $(DIR)/extract.o \
$(DIR)/append.o $(DIR)/print.o $(DIR)/replace.o \
$(DIR)/lists.o $(DIR)/files.o $(DIR)/amiga.o
ar: $(arobjects) version.c
$(CC) -o $(DIR)/version.o $(COPTS) version.c
$(CC) -o ar $(arobjects) $(DIR)/version.o $(CLIBS)
$(DIR)/ar.o: ar.c ar.h errors.h
$(CC) -o $@ $(COPTS) ar.c
$(DIR)/archive.o: archive.c ar.h archive.h lists.h errors.h
$(CC) -o $@ $(COPTS) archive.c
$(DIR)/errors.o: errors.c ar.h
$(CC) -o $@ $(COPTS) errors.c
$(DIR)/contents.o: contents.c ar.h archive.h lists.h errors.h
$(CC) -o $@ $(COPTS) contents.c
$(DIR)/delete.o: delete.c ar.h archive.h lists.h
$(CC) -o $@ $(COPTS) delete.c
$(DIR)/extract.o: extract.c ar.h archive.h lists.h
$(CC) -o $@ $(COPTS) extract.c
$(DIR)/append.o: append.c ar.h archive.h lists.h
$(CC) -o $@ $(COPTS) append.c
$(DIR)/print.o: print.c ar.h archive.h lists.h
$(CC) -o $@ $(COPTS) print.c
$(DIR)/replace.o: replace.c ar.h archive.h lists.h
$(CC) -o $@ $(COPTS) replace.c
$(DIR)/lists.o: lists.c ar.h lists.h
$(CC) -o $@ $(COPTS) lists.c
$(DIR)/version.o: version.c ar.h
$(CC) -o $@ $(COPTS) version.c
$(DIR)/files.o: files.c ar.h archive.h
$(CC) -o $@ $(COPTS) files.c
$(DIR)/amiga.o: amiga.c
$(CC) -o $@ $(COPTS) amiga.c